﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VietThinks.Model
{
    public class RightInRole : DomainEntity<int>
    {
        public RightInRole()
        {
            //this.rights = new List<Right>();
        }
        public virtual bool Actived { get; set; }
        public virtual DateTime CreatedDate { get; set; }
        public virtual DateTime ModifiedDate { get; set; }
        
        //protected readonly IList<Right> rights;
        //public virtual IEnumerable<Right> Rights { get { return this.rights.AsEnumerable(); } }
        public virtual Role Role { get; set; }
        public virtual Right Right { get; set; }
    }
}
